//
//  Track.h
//  Racing
//
//  Created by vy phan on 4/11/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Section.h"
#import "StraightSection.h"
#import "CornerSection.h"
#import <stdio.h>
#import "State.h"
#import "Vehicle.h"

@interface Track : NSObject {
	@private
		int width, height;
		NSString* version;
	@public
		NSMutableArray* sections;
}
-(id) initWithVersion:(NSString*)version_;
-(int) getWidth;
-(int) getHeight;
-(NSString*) getVersion;
-(void) load:(NSString*)track_;
-(void) calcDimensions;
-(void) toStartingPositions:(NSMutableArray*)vehicles_;
@end
